package com.cpd.blog.common.diyCommon;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author: sun_zhaoyan
 * @Date: 2022/04/30/2:38
 */
@SuppressWarnings("all")
public class MyManagerImpl<M extends MyMapper<T>, T> extends ServiceImpl<M, T> implements MyManager<T> {

    @Autowired
    private M baseMapper;

    @Override
    public int logicDeleteByIdWithFill(T entity) {
        return baseMapper.logicDeleteByIdWithFill(entity);
    }
}